home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Language/OS - Multiplatform Resource Library
/
LANGUAGE OS.iso
/
p4
/
p4-1_2c.lha
/
p4-1.2c
/
util
/
defs.all
next >
Wrap
Text File
|
1993-05-24
|
8KB
|
452 lines
# top level makefile for P4
# BEGIN SUN
# P4 makefile for Sun
P4ARCH = SUN
AR = ar ruv
FC = f77
CLINKER = cc
FLINKER = f77
RANLIB = ranlib
MDEP_LIBS =
MDEP_CFLAGS =
MDEP_FFLAGS =
P4_OBJ = $(P4_COMM_OBJ) $(P4_SOCK_OBJ) $(P4_SHMEM_OBJ)
# END SUN
# BEGIN HP
# P4 makefile for HP
P4ARCH = HP
AR = ar ruv
FC = f77
CLINKER = cc
RANLIB = true
FLINKER = f77
MDEP_LIBS = -lV3
# -lV3 is for sighold, etc.
MDEP_CFLAGS =
MDEP_FFLAGS =
P4_OBJ = $(P4_COMM_OBJ) $(P4_SOCK_OBJ) $(P4_SHMEM_OBJ)
# END HP
# BEGIN DEC5000
# P4 makefile for DEC 5000
P4ARCH = DEC5000
AR = ar ruv
FC = f77
CC = cc
CLINKER = cc
FLINKER = f77
RANLIB = ranlib
MDEP_LIBS =
MDEP_CFLAGS =
MDEP_FFLAGS =
P4_OBJ = $(P4_COMM_OBJ) $(P4_SOCK_OBJ) $(P4_SHMEM_OBJ)
# END DEC5000
# BEGIN RS6000
# P4 makefile for IBM RS/6000
P4ARCH = RS6000
AR = ar ruv
FC = xlf
CLINKER = cc
FLINKER = xlf
RANLIB = true
MDEP_LIBS = -lbsd
MDEP_CFLAGS =
MDEP_FFLAGS = -qextname
P4_OBJ = $(P4_COMM_OBJ) $(P4_SOCK_OBJ) $(P4_SHMEM_OBJ)
# END RS6000
# BEGIN SP1
# P4 makefile for IBM SP-1
P4ARCH = SP1
AR = ar ruv
FC = xlf
CLINKER = cc
FLINKER = xlf -bnso -bI:/lib/syscalls.exp
RANLIB = true
MDEP_LIBS = -lbsd
MDEP_CFLAGS =
MDEP_FFLAGS = -qextname
P4_OBJ = $(P4_COMM_OBJ) $(P4_SOCK_OBJ) $(P4_SHMEM_OBJ)
# END SP1
# BEGIN IBM3090
# P4 makefile for IBM 3090 running AIX
P4ARCH = IBM3090
AR = ar ruv
CLINKER = cc
FLINKER = fvs
FC = fvs
RANLIB = true
MDEP_LIBS =
MDEP_CFLAGS =
MDEP_FFLAGS =
P4_OBJ = $(P4_COMM_OBJ) $(P4_SOCK_OBJ) $(P4_SHMEM_OBJ)
# END IBM3090
# BEGIN TITAN
# P4 makefile for Ardent Titan
P4ARCH = TITAN
AR = ar ruv
FC = fc
CLINKER = cc
FLINKER = fc
RANLIB = true
MDEP_LIBS =
MDEP_CFLAGS =
MDEP_FFLAGS =
P4_OBJ = $(P4_COMM_OBJ) $(P4_SOCK_OBJ) $(P4_SHMEM_OBJ)
# END TITAN
# BEGIN SGI
# P4 makefile for Silicon Graphics
P4ARCH = SGI
AR = ar ruv
FC = f77
CLINKER = cc
FLINKER = f77
RANLIB = true
MDEP_LIBS = -lsun
MDEP_CFLAGS = -cckr
MDEP_FFLAGS =
P4_OBJ = $(P4_COMM_OBJ) $(P4_SOCK_OBJ) $(P4_SHMEM_OBJ)
# END SGI
# BEGIN NEXT
# P4 makefile for NeXT
P4ARCH = NEXT
AR = ar ruv
FC = f77
CLINKER = cc
FLINKER = f77
RANLIB = ranlib
MDEP_LIBS =
MDEP_CFLAGS = # Black hardware, with NeXTstep
#MDEP_CFLAGS = -arch i386 # for 486's running NeXTstep
#MDEP_CFLAGS = -arch m68k -arch i386 # fat binaries, for both
MDEP_FFLAGS =
P4_OBJ = $(P4_COMM_OBJ) $(P4_SOCK_OBJ) $(P4_SHMEM_OBJ)
# END NEXT
# BEGIN KSR
# P4 makefile for Kendall Square
P4ARCH = KSR
AR = ar ruv
FC = f77
CLINKER = cc
FLINKER = f77
RANLIB = true
MDEP_LIBS = -lrpc
MDEP_CFLAGS =
MDEP_FFLAGS =
P4_OBJ = $(P4_COMM_OBJ) $(P4_SOCK_OBJ) $(P4_SHMEM_OBJ)
# END KSR
# BEGIN FX8
# P4 makefile for Alliant FX/8
P4ARCH = FX8
AR = ar ruv
FC = fortran
CLINKER = cc
FLINKER = fortran
RANLIB = ranlib
MDEP_LIBS =
MDEP_CFLAGS = -nc
MDEP_FFLAGS = -nc
P4_OBJ = $(P4_COMM_OBJ) $(P4_SOCK_OBJ) $(P4_SHMEM_OBJ)
# END FX8
# BEGIN FX2800
# P4 makefile for Alliant FX/800 and FX/2800
P4ARCH = FX2800
AR = ar ruv
FC = fortran
CLINKER = cc
FLINKER = fortran
RANLIB = ranlib
MDEP_LIBS = -lalliant
MDEP_CFLAGS = -nc
MDEP_FFLAGS = -nc
P4_OBJ = $(P4_COMM_OBJ) $(P4_SOCK_OBJ) $(P4_SHMEM_OBJ)
# END FX2800
# BEGIN FX2800_SWITCH
# P4 makefile for Alliant FX/800 and Fx/2800 with HiPPI Switch
P4ARCH = FX2800_SWITCH
AR = ar ruv
FC = fortran
CLINKER = cc
FLINKER = fortran
RANLIB = ranlib
MDEP_LIBS = /usr/local/lib/libsw.a -lalliant
MDEP_CFLAGS = -nc -I/usr/local/include
MDEP_FFLAGS = -nc
P4_OBJ = $(P4_COMM_OBJ) $(P4_SOCK_OBJ) $(P4_SHMEM_OBJ)
# END FX2800_SWITCH
# BEGIN DELTA
# P4 makefile for Intel DELTA
P4ARCH = DELTA
FILE_LINK = ln -s
AR = ar860 r
FC = if77
CLINKER = icc
FLINKER = if77
RANLIB = true
MDEP_LIBS = -lsocknode
MDEP_CFLAGS = -node -i860
MDEP_FFLAGS = -node -i860
P4_OBJ = $(P4_COMM_OBJ) $(P4_SOCK_OBJ)
CC = icc
# END DELTA
# BEGIN PARAGON
# P4 makefile for Intel Paragon
P4ARCH = PARAGON
FILE_LINK = ln -s
AR = ar860 r
FC = if77
CLINKER = icc
FLINKER = if77
RANLIB = true
MDEP_CFLAGS = -nx
MDEP_FFLAGS = -nx
P4_OBJ = $(P4_COMM_OBJ)
CC = icc
# END PARAGON
# BEGIN IPSC860
# P4 makefile for Intel iPSC860 node with Portland Group Compilers
P4ARCH = IPSC860
FILE_LINK = ln -s
AR = ar860 r
FC = if77
CLINKER = icc
FLINKER = if77
RANLIB = true
#MDEP_LIBS = -lnode
MDEP_CFLAGS = -O3 -Mvect -node
MDEP_FFLAGS = -O3 -Mvect -node
P4_OBJ = $(P4_COMM_OBJ)
CC = icc
# END IPSC860
# BEGIN NCUBE
# P4 makefile for nCube nodes
P4ARCH = NCUBE
FILE_LINK = ln -s
AR = nar r
FC = nf77
CLINKER = ncc
FLINKER = nf77
RANLIB = true
MDEP_CFLAGS =
MDEP_FFLAGS =
P4_OBJ = $(P4_COMM_OBJ)
CC = ncc
# END NCUBE
# BEGIN CM5
# P4 makefile for Thinking Machine's CM-5
P4ARCH = CM5
FILE_LINK = ln -s
AR = ar ruv
FC = cmf
CLINKER = cmmd-ld -comp cc
FLINKER = cmmd-ld -comp f77
RANLIB = ranlib
MDEP_CFLAGS =
MDEP_FFLAGS =
P4_OBJ = $(P4_COMM_OBJ)
CC = cc
# END CM5
# BEGIN IPSC860_SOCKETS
# P4 makefile for Intel iPSC860 node with sockets and Portland Group Compilers
P4ARCH = IPSC860_SOCKETS
FILE_LINK = ln -s
AR = ar860 r
FC = if77
CLINKER = icc
FLINKER = if77
RANLIB = true
MDEP_LIBS = -lsocknode
MDEP_CFLAGS = -O3 -Mvect -node
MDEP_FFLAGS = -O3 -Mvect -node
P4_OBJ = $(P4_COMM_OBJ) $(P4_SOCK_OBJ)
CC = icc
# END IPSC860_SOCKETS
# BEGIN BALANCE
# P4 makefile for Sequent Balance
P4ARCH = BALANCE
FILE_LINK = ln
FC = fortran
AR = ar ruv
CLINKER = cc
FLINKER = fortran
RANLIB = ranlib
MDEP_LIBS= -lpps -lseq
MDEP_CFLAGS =
MDEP_FFLAGS =
P4_OBJ = $(P4_COMM_OBJ) $(P4_SOCK_OBJ) $(P4_SHMEM_OBJ)
P = &
# END BALANCE
# BEGIN SYMMETRY
# P4 makefile for Sequent Symmetry
P4ARCH = SYMMETRY
FILE_LINK = ln
FC = fortran
AR = ar ruv
CLINKER = cc -Z1000000
FLINKER = fortran -Z1000000
RANLIB = ranlib
MDEP_LIBS= -lpps -lseq
MDEP_CFLAGS =
MDEP_FFLAGS =
P4_OBJ = $(P4_COMM_OBJ) $(P4_SOCK_OBJ) $(P4_SHMEM_OBJ)
P = &
# END SYMMETRY
# BEGIN SYMMETRY_PTX
# P4 makefile for Sequent Symmetry PTX
#
# The '-Wc,-seq' option is needed to recognize
# variable types "shared" or "private", etc.
#
P4ARCH = SYMMETRY_PTX
FILE_LINK = ln
FC = fortran
AR = ar ruv
CLINKER = cc
FLINKER = fortran
RANLIB = true
MDEP_LIBS= -lpps -lseq -lrpc -lsocket -linet -lnsl
MDEP_CFLAGS = -Wc,-seq
P4_OBJ = $(P4_COMM_OBJ) $(P4_SOCK_OBJ) $(P4_SHMEM_OBJ)
# P4_OBJ = $(P4_COMM_OBJ) $(P4_SHMEM_OBJ)
P = &
# END SYMMETRY_PTX
# BEGIN MULTIMAX
# P4 makefile for Encore Multimax
P4ARCH = MULTIMAX
FILE_LINK = ln
FC = f77
AR = ar ruv
CLINKER = cc
FLINKER = f77
RANLIB = ranlib
MDEP_LIBS= -lpp
MDEP_CFLAGS =
MDEP_FFLAGS =
P4_OBJ = $(P4_COMM_OBJ) $(P4_SOCK_OBJ) $(P4_SHMEM_OBJ)
# END MULTIMAX
# BEGIN CRAY
# P4 makefile for Cray
P4ARCH = CRAY
AR = ar ruv
CC = scc
FC = cf77
CLINKER = scc
FLINKER = cf77
RANLIB = true
MDEP_LIBS = -lrpc,net
MDEP_CFLAGS =
MDEP_FFLAGS =
P4_OBJ = $(P4_COMM_OBJ) $(P4_SOCK_OBJ) $(P4_SHMEM_OBJ)
# END CRAY
# BEGIN GP_1000
# P4 makefile for BBN Butterfly GP-1000
P4ARCH = GP_1000
FILE_LINK = ln
AR = ar ruv
FC = f77
CLINKER = cc
FLINKER = f77
RANLIB = ranlib
MDEP_LIBS= -lus
MDEP_CFLAGS =
MDEP_FFLAGS =
P4_OBJ = $(P4_COMM_OBJ) $(P4_SOCK_OBJ) $(P4_SHMEM_OBJ)
P = $(PARALLEL)
# END GP_1000
# BEGIN TC_2000
# P4 makefile for BBN Butterfly TC-2000
P4ARCH = TC_2000
FILE_LINK = ln
FC = f77
AR = ar ruv
CLINKER = cc
FLINKER = f77
RANLIB = ranlib
MDEP_LIBS= -lus
MDEP_CFLAGS =
MDEP_FFLAGS =
P4_OBJ = $(P4_COMM_OBJ) $(P4_SOCK_OBJ) $(P4_SHMEM_OBJ)
P = $(PARALLEL)
# END TC_2000
# BEGIN TC_2000_TCMP
# P4 makefile for BBN Butterfly TC_2000 with TCMP message-passing library
P4ARCH = TC_2000_TCMP
FILE_LINK = ln
FC = f77
AR = ar ruv
P = $(PARALLEL)
CLINKER = cc
FLINKER = f77
RANLIB = ranlib
#TCMP_LIBDIR = /Net/sparky/sparky1/lusk/lepido/tcmp
TCMP_LIBDIR = /usr/bbnm/tcmp
TCMPLIB = $(TCMP_LIBDIR)/libtcmpnew.a # or see system administrator
MDEP_LIBS = $(TCMPLIB) -lus
MDEP_CFLAGS =
MDEP_FFLAGS =
P4_OBJ = $(P4_COMM_OBJ) $(P4_SOCK_OBJ) $(P4_SHMEM_OBJ)
# END TC_2000_TCMP
# BEGIN CONVEX
# P4 makefile for Convex
P4ARCH = CONVEX
AR = ar ruv
FC = fc
CLINKER = cc
FLINKER = fc
RANLIB = ranlib
MDEP_LIBS =
MDEP_CFLAGS =
MDEP_FFLAGS =
P4_OBJ = $(P4_COMM_OBJ) $(P4_SOCK_OBJ) $(P4_SHMEM_OBJ)
# END CONVEX
# BEGIN COMMON
RM = /bin/rm
CFLAGS = -g -I$(INCLUDEDIR) $(MDEP_CFLAGS) $(USER_CFLAGS)
FFLAGS = -g -I$(FORTLIBDIR) $(MDEP_FFLAGS)
.SUFFIXES: .o .c .f .h
.c.o:$(P)
$(CC) $(CFLAGS) -c $*.c
.f.o:$(P)
$(FC) $(FFLAGS) -c $*.f
dummy: default
clean:
$(RM) -f *~ *.o *.bak tags TAGS core
# END COMMON